
#define  _CRT_SECURE_NO_WARNINGS 1
int main()
{
	int y = 0;
	int m = 0;
	scanf("%d %d", &y, &m);
	int days = day(y, m);
	printf("%d\n", days);
	return 0;
	//}

#include<stdio.h>
	int add(int a, int  b)
	{
		return a + b;
	}
	int main()
	{
		int a = 0;
		int b = 0;
		scanf("%d %d", &a, &b);
		int c = add(a, b);
		printf("%d", c);
		return 0;
	}